package cn.xfdzx.android.apps.shop.model;


import java.util.HashMap;

import cn.xfdzx.android.apps.shop.bean.IdCardBeen;
import cn.xfdzx.android.apps.shop.bean.LicenseImgBeen;
import cn.xfdzx.android.apps.shop.bean.Ruzhu_StepBean;
import cn.xfdzx.android.apps.shop.bean.Store_ruzhuBean;
import cn.xfdzx.android.apps.shop.contract.Store_InfoContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class Store_InfoModel implements Store_InfoContract.Model {


    @Override
    public Flowable<Store_ruzhuBean> getRuzhuState(HashMap<String,Object> map) {
        return RetrofitClient.getInstance().getApi().getRuzhu_state(map);
    }

    @Override
    public Flowable<Ruzhu_StepBean> getStepRuzhu(String step) {
        return RetrofitClient.getInstance().getApi().getRuzhu_Step(step);
    }

    @Override
    public Flowable<LicenseImgBeen> licenseImg(String licenseImg) {
        return RetrofitClient.getInstance().getApi().getLicenseImg(licenseImg);
    }

    @Override
    public Flowable<IdCardBeen> idCardSubmit(String infoImg, String emblemImg) {
        return RetrofitClient.getInstance().getApi().getIdCard(infoImg,emblemImg);
    }

    @Override
    public Flowable<IdCardBeen> idCardSubmits(String infoImg, String emblemImg) {
        return RetrofitClient.getInstance().getApi().getIdCard(infoImg,emblemImg);
    }

}
